<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>乐淘首页-老师上课代码</title>
  <link rel="stylesheet" href="./assets/mui/css/mui.css">
  <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/cart.css">
</head>

<body>
  <header class="lt_header">
    <h4 class="lt_title">
      <a class="lt_h_left" href="javascript:history.back();">
        <span class="fa  fa-arrow-left"></span>
      </a>
      购物车
      <a class="lt_h_right" href="#">
        <span class="fa fa-refresh"></span>
      </a>
    </h4>
  </header>
  <div class="lt_container">
    <div id="refreshContainer" class="mui-content mui-scroll-wrapper">
      <div class="mui-scroll">
        <!-- 放我们的代码 -->
        <ul id="OA_task_2" class="mui-table-view">

          <!-- 放我们的代码 -->
        </ul>
      </div>

    </div>
  </div>>
     商品订单
    <div class="order_info">
    <span class="order_total_price">
      订单总额:￥0.00
    </span>
      <button class="createOrderBtn">生成订单</button>
    </div>
    <footer class="lt_footer mui-clearfix">
      <a href="/mobile/index.html">
        <span class="mui-icon mui-icon-home"></span>
        <p>首页</p>
      </a>
      <a href="/mobile/category.html">
        <span class="mui-icon mui-icon-bars"></span>
        <p>分类</p>
      </a>
      <a class="active" href="/mobile/cart.html">
        <span class="fa fa-shopping-cart"></span>
        <p>购物车</p>
      </a>
      <a href="/mobile/user/index.html">
        <span class="fa fa-user"></span>
        <p>会员中心</p>
      </a>
    </footer>
</body>
<script src="./assets/mui/js/mui.js"></script>
<script src="./assets/zepto/zepto.min.js"></script>
<script src="./assets/artTemplate/template.js"></script>
<script src="./js/common.js"></script>
<script src="./js/cart.js"></script>
<script type="text/html" id="cart_djz" >
  {{each data as value}}
  <li class="mui-table-view-cell mui-transitioning suju" data-ifmt="{{objToJson(value)}}">
    <div class="mui-slider-right mui-disabled">
      <a class="mui-btn mui-btn-primary editBtn " style="transform: translate(0px, 0px);">编辑</a>
      <a class="mui-btn mui-btn-danger  deleteBtn" style="transform: translate(-88px, 0px);">删除</a>
    </div>
    <div class="mui-slider-handle" style="transform: translate(0px, 0px);">
      <div class="mui-table-cell">
        <img src="{{value.pic[0].picAddr}}" alt="">
        <div class="cart_right">
          <!-- 商品的描述 -->
          <div class="cart_miaos">
           {{value.proName}}
          </div>
          <!-- 商品的价格 -->
          <div class="cart_price mui-clearfix">
            <!-- 价格 -->
            <div class="cart_price_l">
              <span class="new_price">￥{{value.price}}</span>
              <span class="old_price">￥{{value.oldPrice}}</span>
            </div>
            <!-- 数量 -->
            <span class="cart_num">
                         x{{value.num}}双
                       </span>
          </div>
          <!-- 尺码 -->
          <div class="cart_size">
            鞋码:{{value.size}}
          </div>
          <input class="chkInp" type="checkbox" name="" id="xuanz">
        </div>
      </div>
    </div>
  </li>
  {{/each}}
</script>>
<script type="text/html" id="editTpl">
  <div class="pro_size">
    尺码:
    {{each sizeArr as value}}
    {{ if size== value }}
    <span class="active">{{value}}</span>
    {{/if}}
    {{ if size!= value }}
    <span >{{value}}</span>
    {{/if}}
    {{/each}}
  </div>
  <!-- 数量 -->
  <div class="pro_num">
    数量:
    <!-- mui的数字输入框的组件 -->
    <div class="mui-numbox" data-numbox-min="0" data-numbox-max="{{productNum}}" >
      <!-- "-"按钮，点击可减小当前数值 -->
      <button class="mui-btn mui-numbox-btn-minus" type="button">-</button>
      <input class="mui-numbox-input" type="number" value="{{num}}" />
      <!-- "+"按钮，点击可增大当前数值 -->
      <button class="mui-btn mui-numbox-btn-plus" type="button">+</button>
    </div>
    剩余:{{productNum}}件
  </div>
</script>
</html>

<!-- 
  mui-ellipsis-2
  
 -->